package rocketmq.demo.trans.person;

import java.io.Serializable;
import java.util.Date;

public class Person implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private String name;
	private Date bir;

	public Person(int id, String name, Date bir) {
		super();
		this.id = id;
		this.name = name;
		this.bir = bir;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getBir() {
		return bir;
	}

	public void setBir(Date bir) {
		this.bir = bir;
	}

	@Override
	public String toString() {
		return "Person [id=" + id + ", name=" + name + ", bir=" + bir + "]";
	}

}
